<?php

$mysqlConfig = [
    'host'=>'127.0.0.1',
    'port'=>'3307',
    'dbname'=>'swoole_test',
    'username'=>'root',
    'password'=>'123456',
];

$configStr = "mysql:host={$mysqlConfig['host']};port={$mysqlConfig['port']};dbname={$mysqlConfig['dbname']}";

$pdo = new PDO($configStr,$mysqlConfig['username'],$mysqlConfig['password']);

for ($i=0;$i<5;$i++){
    $res = $pdo->query("select * from test_order where `desc` like '%consequuntur consectetur333%';");
}

echo "执行完成\n";